<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<!--copy rights start here-->
<div class="copyrights">
	 <p>Copyright &copy; 2016.Company name All rights reserved.</p>
</div>	
<!--COPY rights end here-->
</div>
</div>
<!--slider menu-->
    <div class="sidebar-menu">
		  	<div class="logo"> <a href="#" class="sidebar-icon"> <span class="fa fa-bars"></span> </a> <a href="#"> <span id="logo" ></span> 
			      <!--<img id="logo" src="" alt="Logo"/>--> 
			  </a> </div>		  
		    <div class="menu">
		      <ul id="menu" >
		      	<shiro:hasPermission name="数据统计" >
					<li id="menu-home" ><a href="/admin/statistics/tostatistics"><i class="fa fa-tachometer"></i><span>数据统计</span></a></li>
    			</shiro:hasPermission>

				<shiro:hasPermission name="发布记录" >
				<li id="recode" ><a href="#"><i class="fa fa-book nav_icon"></i><span>发布记录</span><span class="fa fa-angle-right" style="float: right"></span></a>
				  <ul id="menu-academico-sub" >
					  <shiro:hasPermission name="编译记录" >
					  	<li><a href="/admin/jenkins/tobuildlist" >编译记录</a></li>
					  </shiro:hasPermission>
					  <shiro:hasPermission name="发布日志" >
					  	<li><a href="/admin/jenkins/touploadloglist">发布日志</a></li>
					  </shiro:hasPermission>
				  </ul>
				</li>
				</shiro:hasPermission>

				<shiro:hasPermission name="增量发布" >
				<li id="menu-academico" ><a href="#"><i class="fa fa-file-text"></i><span>增量发布</span><span class="fa fa-angle-right" style="float: right"></span></a>
					<ul id="menu-publish" >
						<shiro:hasPermission name="编译发布" >
							<li><a href="/admin/jenkins/tojoblist">编译发布</a></li>
						</shiro:hasPermission>
						<shiro:hasPermission name="组件管理" >
							<li><a href="/admin/modules/tomoduleslist" >组件管理</a></li>
						</shiro:hasPermission>
						<shiro:hasPermission name="应用服务器" >
							<li><a href="/admin/serverinfo/toserverlist">应用服务器</a></li>
						</shiro:hasPermission>
					</ul>
				</li>
				</shiro:hasPermission>

				<shiro:hasPermission name="用户列表">
					<li><a href="/admin/customer/tocustomerlist"><i class="fa fa-map-marker"></i><span>用户列表</span></a></li>
				</shiro:hasPermission>
		        <shiro:hasPermission name="公众号管理">
					<li><a href="#"><i class="fa fa-comments-o"></i><span>公众号管理</span><span class="fa fa-angle-right" style="float: right"></span></a>
		        	 	<ul id="menu-academico-wechat" >
		        	 		<shiro:hasPermission name="公众号信息">
		        	 			<li id="menu-academico-avaliacoes" ><a href="/admin/wechat/towechatlist" >公众号信息</a></li>
			            	</shiro:hasPermission>
		            	</ul>
		        	</li>
				</shiro:hasPermission>
		        <shiro:hasPermission name="系统管理"> 
		         	<li><a href="#"><i class="fa fa-cog"></i><span>系统管理</span><span class="fa fa-angle-right" style="float: right"></span></a>
		         	 	<ul id="menu-academico-system" >
		         	 		<shiro:hasPermission name="用户管理"> 
			      	      		<li><a href="/admin/systemuser/touserlist">用户管理</a></li>
			            	</shiro:hasPermission>
			            	<shiro:hasPermission name="角色管理"> 
			            		<li><a href="/admin/systemrole/torolelist" >角色管理</a></li>
			            	</shiro:hasPermission>
			            	<shiro:hasPermission name="菜单管理">
			            		<li><a href="/admin/systemresource/toresourcelist" >菜单管理</a></li>
		             		</shiro:hasPermission>
		             		<shiro:hasPermission name="商家信息">
			            		<li><a href="/admin/supplier/tosuuplierinfo" >商家信息</a></li>
		             		</shiro:hasPermission>
		             		<shiro:hasPermission name="系统常量">
			            		<li><a href="/admin/systemcode/tocodelist" >系统常量</a></li>
		             		</shiro:hasPermission>
		             	</ul>
		         	</li>
		         </shiro:hasPermission>
		      </ul>
		    </div>
	 </div>
	<div class="clearfix"> </div>
</div>
<!--slide bar menu end here-->
<script>
var toggle = true;
$(".sidebar-icon").click(function() {                
  if (toggle)
  {
    $(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
    $("#menu span").css({"position":"absolute"});
  }
  else
  {
    $(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
    setTimeout(function() {
      $("#menu span").css({"position":"relative"});
    }, 400);
  }               
                toggle = !toggle;
            });
</script>
<!--scrolling js-->
		<script src="/js/jquery.nicescroll.js"></script>
		<script src="/js/scripts.js"></script>
		<!--//scrolling js-->
<!-- mother grid end here-->
</body>
</html>